import Vue from 'vue'
import Vuex from 'vuex'
//导入模块
import state from "./modules/state"
import mutations from "./modules/mutations"
import actions from "./modules/actions"
import getters from "./modules/getters"
Vue.use(Vuex)

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters
})
